package com.bh.domain;


import lombok.*;

/**
 * @author86151
 * @date2022/10/24
 * @apiNote
 */

public class User {

    private Long id;

    private String username;

    private Integer password;

    public User(Long id, String username, Integer password) {
        this.id = id;
        this.username = username;
        this.password = password;
    }

    public User() {

    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getUserName() {
        return username;
    }

    public void setUserName(String userName) {
        this.username = userName;
    }

    public Integer getPassword() {
        return password;
    }

    public void setPassword(Integer password) {
        this.password = password;
    }

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", userName='" + username + '\'' +
                ", password=" + password +
                '}';
    }
}
